package com.example.demo.struct.composite;

/**
 * @Desc:
 * @Author zzz
 * @Date 2021/2/24
 * @Version V1.0
 */
public class SSD implements Component {
    @Override
    public double calc() {
        return 1200;
    }

    @Override
    public void display() {
        System.out.println("SSD1200元");
    }
}
